package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 签到表
 */
@Getter@Setter
public class Sign  extends BaseDomain{

    private User user;//用户

    @JsonFormat(pattern = "yyyy-mm-dd")
    private Date sign_time;//签到时间

    private Integer integral;//积分

    private Integer signs;//连续签到天数

}